package com.cxyd.modules.security.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 登录表单
 */
@Data
public class LoginDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotBlank(message="{sysuser.username.require}")
    private String username;

    @NotBlank(message="{sysuser.password.require}")
    private String password;

    @NotBlank(message="{sysuser.captcha.require}")
    private String captcha;

    @NotBlank(message="{sysuser.uuid.require}")
    private String uuid;

}